package com.example.Service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.Service.RoleService;
import com.example.Service.UserService;
import com.example.mapper.RoleMapper;
import com.example.mapper.UserMapper;
import com.example.pojo.SysRole;
import com.example.pojo.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.management.relation.Role;
import java.util.List;

@Service
public class RoleServiceImpl  extends ServiceImpl<RoleMapper, SysRole> implements RoleService {

    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<SysRole> getRole() {
        return roleMapper.getRole();
    }
}
